package com.master.constant.constant;

/**
 * @author Heath.Que
 * @version 1.0
 * @classname
 * @description 系统信息
 * @Date 2021/5/25 16:55
 **/
public class System {

    /**
     * 默认编码
     */
    public final static String CHARSET = "UTF-8";
    /**
     * 错误编码
     */
    public final static String ERR_CODE = "errcode";
    /**
     * 编码
     */
    public final static String CODE = "code";
    /**
     * 总数
     */
    public final static String TOTAL = "total";
    /**
     * 分页内容
     */
    public final static String ROWS = "rows";
    /**
     * 错误信息
     */
    public final static String ERR_MESSAGE = "errmsg";
    /**
     * 微信唯一编码：openid
     */
    public final static String OPENID = "openid";
    /**
     * 微信唯一码：unionid
     */
    public final static String UNION_ID = "unionid";

    /**
     * 状态
     */
    public final static String STATUS = "status";
    /**
     * 返回信息
     */
    public final static String MESSAGE = "message";

    /**
     * 当前页数
     */
    public final static String PAGE_NUMBER = "pageNumber";
    /**
     * 当前页数
     */
    public final static String PAGE_NO = "pageNo";

    /**
     * 每页显示多少数
     */
    public final static String PAGE_SIZE = "pageSize";
    /**
     * 内容
     */
    public final static String CONTENT = "content";

    /**
     * 404返回信息
     */
    public final static String MESSAGE_FOUR_ZERO_FOUR = "<!doctype html>";

    /**
     * 测试环境
     */
    public final static String MODE = "test";


    /**
     * 接口的adminToken失效时间（1天）
     */
    public final static Integer ADMIN_TOKEN_TIME = 86400; //86400
    /**
     * 手机验证码
     */
    public final static String SEND_CODE = "send_code_";
    /**
     * 员工状态
     */
    public final static String USER_STATUS = "user_status";
    /**
     * 顾客状态
     */
    public final static String CUSTOMER_STATUS = "customer_status";

    /**
     * 当前登录的客户端类型
     */
    public final static String LOGIN_TYPE = "loginType";

    /**
     * 当前登录的唯一码
     */
    public final static String LOGIN_UUID = "loginUUID";

    /**
     * 员工对象
     */
    public final static String APP_USER = "appUser";
    /**
     * 客户对象
     */
    public final static String APP_CUSTOMER = "appCustomer";

    /**
     * 员工权限key
     */
    public final static String USER_ROLE = "user_role";
    /**
     * 管理员
     */
    public final static String MANAGER_ROLE_KEY = "manager_role";
    /**
     * 默认密码
     */
    public final static String DEFAULT_PASSWORD = "123456";

    /**
     * excel key
     */
    public final static String EXCEL = "excel";

    /**
     * excel后缀
     */
    public final static String EXCEL_LAST_NAME = ".xlsx";

    /**
     * 验证票据
     */
    public final static String COMPONENT_VERIFY_TICKET_KEY = "ComponentVerifyTicket";
    /**
     * 令牌
     */
    public final static String COMPONENT_ACCESS_TOKEN_KEY = "componentAccessToken";
    /**
     * 接口调用令牌（在授权的公众号/小程序具备 API 权限时，才有此返回值）
     */
    public final static String AUTHORIZER_ACCESS_TOKEN_KEY = "authorizer_access_token_";
    /**
     * 刷新令牌（在授权的公众号具备API权限时，才有此返回值），刷新令牌主要用于第三方平台获取和刷新已授权用户的 authorizer_access_token。
     * 一旦丢失，只能让用户重新授权，才能再次拿到新的刷新令牌。用户重新授权后，之前的刷新令牌会失效
     */
    public final static String AUTHORIZER_REFRESH_TOKEN_KEY = "authorizer_refresh_token";
    /**
     * 接口调用凭证(获取小程序全局唯一后台接口调用凭据（access_token）。调用绝大多数后台接口时都需使用 access_token，开发者需要进行妥善保存)
     */
    public final static String ACCESS_TOKEN_KEY = "access_token_";
    /**
     * 管理员账号key
     */
    public final static String MANAGER_LOGIN_KEY = "manager_login";
    /**
     * 管理员token key
     */
    public final static String MANAGER_TOKEN = "manager_token_";
    /**
     * 账号 key
     */
    public final static String USERNAME_KEY = "username";
    /**
     * 密码 key
     */
    public final static String PASSWORD_KEY = "password";
    /**
     * 主数据源标识
     */
    public final static String MAIN_DB_NAME = "guard_easy";
    /**
     * 版本
     */
    public final static String USER_VERSION = "userVersion";
    /**
     * 描述
     */
    public final static String USER_DESC = "userDesc";
    /**
     * 开始时间
     */
    public final static String START_TIME = "startTime";
    /**
     * 结束时间
     */
    public final static String END_TIME = "endTime";
    /**
     * 测试账号
     */
    public final static String TEST_MOBILE = "13999999999";
    /**
     * 测试验证码
     */
    public final static String TEST_CODE = "123456";
    /**
     * 测试appId
     */
    public final static String TEST_APP_ID = "wxad58bcdce6301cf7";

    /**
     * 共享key
     */
    public final static String SHARE_INFO_LIST = "shareInfoList";
    /**
     * 高德key名称
     */
    public  final static String SCOTT_APP_KEY_NAME="UAT-锦医卫CC-WEB";
    /**
     * 高德 key
     */
    public  final static String SCOTT_APP_KEY = "8bfd760f4c80ca92d0d697fb2ab19dc3";
    /**
     * 高德获取数据接口
     */
    public  final static String SCOTT_URL= "https://restapi.amap.com/v3/config/district?keywords=&subdistrict=3&extensions=base&key=appKey";

    /**
     * 拼团
     */
    public final static String ASSEMBLE = "assemble";

    /**
     * 时间格式
     */
    public final static String TIME_FORMAT = "yyyy-MM-dd hh:mm:ss";

    /**
     * 可用的数据库-key
     */
    public final static String ABLE_DB = "ableBb";

    /**
     * 数据-key
     */
    public final static String MAP_DATA = "mapData";

    /**
     * 企业微信 accessToken
     */
    public final static String ENTERPRISE_WX_ACCESS_TOKEN_KEY = "enterprise_wx_access_token_";
    /**
     * 公众号的用户列表
     */
    public final static String PUBLIC_WX_USER_LIST_KEY = "public_wx_user_list_";

    /**
     * 会员有效期
     */
    public final static String MEMBER_VALID_TIME = "member_valid_time_";
}

